<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var iphone9 = {
				color:'土豪金',
				price:'8000元',
				size:'5.5寸',
				weight:'200g',
				chat:function(){
					alert('能聊天');
				},
				call:function(){
					alert('能打电话');
				}
			};
			document.write(iphone9.color);
			//删除对象
			delete iphone9.color;
			document.write(iphone9.color);
			//销毁对象
			iphone9.color=null;
			document.write(iphone9.color);
		</script>
	</head>
	<body>
	</body>
</html>
